﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XbsWebAPI.Application.CampRoom.Dtos;
using XbsWebAPI.EntityFrameworkCore.Entities.Enums;

namespace XbsWebAPI.Application.CampRoom.HouseType
{
    /// <summary>
    /// 创建房型基础信息 入参
    /// </summary>
    public class EditHouseTypeBasicDto
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 选中的营位Id
        /// </summary>
        public Guid CampId { get; set; }


        /// <summary>
        /// 房型名称
        /// </summary>
        [Required]
        public string Name { get; set; }


        /// <summary>
        /// 房间面积
        /// </summary>
        public double RoomArea { get; set; }

        /// <summary>
        /// 床型
        /// </summary>
        public BedType BedType { get; set; }

        /// <summary>
        /// 床型尺寸
        /// </summary>
        [Required]
        public string BedSize { get; set; }

        /// <summary>
        /// 是否有窗
        /// </summary>
        public bool HasWindow { get; set; }

        /// <summary>
        /// 可入住人数
        /// </summary>
        public int GuestNumber { get; set; }


        /// <summary>
        /// 早餐份数
        /// </summary>
        public int BreakfastCount { get; set; }

        /// <summary>
        /// 订房须知
        /// </summary>
        [Required]
        public string Description { get; set; }

        /// <summary>
        /// 房型图片
        /// </summary>
        public List<string> Files { get; set; }

        /// <summary>
        /// 配套设施(只用传入选中配套设施的Id)
        /// </summary>
        public List<ListSupportingFacilityDto> HouseTypeSupportingFacilities { get; set; }
    }
}
